* {
    margin: 0;
    padding: 0;
}
html, body {
	width: 100%;
	height: 100%;
}

.box1 a {
    text-decoration: none;
    color: black;
}

.big-box {
    margin: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    background-color: rgb(51, 51, 51);
}

.box1 {
    display: flex;
    flex-direction: column;
    width: 150px;
    height: 150px;
}

.box1:hover .box1-1 {
    transform: translateY(-75px);
    background-color: red;
    color: rgb(255, 255, 254);
    box-shadow: none;
}

.box1:hover .box1-2 {
    transform: translateY(75px);
    box-shadow: none;
}

.box1-1 {
    width: 100%;

    line-height: 150px;
    font-size: 49px;
    margin-bottom: -75px;
    background-color: rgb(51, 51, 51);
    color: rgb(153, 153, 153);
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    text-align: center;
    z-index: 1;
    transition-duration: 1s;
}



.box1-2 {
    width: 100%;

    margin-top: -75px;
    background-color: rgb(255, 255, 255);
    border-radius: 4px;
    text-indent: 11px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    transition-duration: 1s;
}



.small {
    width: 50px;
    height: 13px;
    line-height: 10px;
    text-indent: 0px;
    text-align: center;
    margin-top: 100px;
    margin-left: 10px;
    margin-bottom: 12px;
    border-radius: 7px;
    border: 2px solid rgb(59, 60, 61);
}

.small:hover {
    background-color: rgb(51, 51, 51);
    color: rgb(255, 255, 254);
}

.small a:hover {
    color: rgb(255, 255, 254);
}